Welcome! Keeping multiple snakes in the same aquarium shouldn't be a problem. Just make sure they are the same size and gender.
(This doesn't apply for all species)