Some contend that Pope Benedict XVI (Ratzinger) was forced out in 2013.  If true, it seems a Pope can be deposed.    https://veritas-vincit-international.org/2017/10/20/was-pope-benedict-xvi-forced-to-resign/