Could a pope be brought to book?

Could a pope be brought to book?