i would suggest you could have read the other posts my friend.. that's why the people here have no interest in giving a reply because that is basic (to put it in a good way) question.. of course they can.. given the tank size and their breed, they can be housed in a tank..
Its perfectly ok but should keep 3 pieces and above. Around 3 for a 5x2x2 tank would be about max. Keep an eye on water parameters and dont be lazy about water changes.
Also, dont forget good cleanup crew as tank mates.