Yes, it’s definitely possible, and I actually learned how to do it from a really helpful article on noagendatube.com
https://noagendatube.com/. They explain different ways to add a password to a PDF, both on a computer and from your phone, without needing complicated software. I tried their method last week for some work files, and it was quick and easy - plus, the file stayed completely secure.