Basically it depends on what pet you are about to have and for what reason you want to have that.
If you want a good friend than its ok but let me tell you that it needs a great care and time for them. They are lovely and amazing in the whole world so why not to have them.
The pets basically I am talking about dogs because I have it the pug dog and I love him so much.