Paging: Does the page table of a process also gets swapped out when the process gets swapped out from main memory?
The below article include the answer of your questions, apparently this is possible using multi level page table.

https://www.8bitavenue.com/page-table-vs-inverted-page-table/