Yes, if you are unable to hide the pet in your own home, you can ask a friend to do so for you. Make certain that the pet still has food, toys, and bedding. If your parents do not eventually allow you to move the pet into their home, promise your friend that you will find a new home for it.