I wouldn't suggest it, especially if you find the pet competitively viable, although you would be at risk of losing to teams that can counter your pets' element.
And assuming the above doesn't really matter to you, and you'll have over 10 pets remaining after you release them, deciding between releasing or keeping them has no point other than trying to navigate your pet selection when you want to change your team.