Yes. The substitute will only break if all the HP put into it is taken.
This will tell you anything else you need to know.
How to change your username
How to add a user avatar
Why was my post hidden?
Flags vs Downvotes
Official PokemonDb League
Type a Pokemon name, type, move or ability to see instant results.