Only if they are converted to a Template object.
Do you mean a PDF template? How can I do that?
Templates can be created using a script or via Tools - Document Processing - Page Templates.
Once created they can be shown or hidden via the same location, or again using a script.
An important note is that it will only work in Acrobat, not in Reader, where it's only possible to spawn pages from a Template and then delete those pages, not show/hide it directly.
Thank you 🙂 helped me a lot