Hi greengirly21 and welcome to the Tank!
I am really glad you asked. Some store owners would say yes but it is a definate no.
Males and females don't mix. In the wild, a male will court a female for a few days, mate with her, then chase her away.
In the confines of a tank, he will hunt her down and kill her, not to mention she will live in constant fear till he does.
You can get a seperate tank or a divided tank and they can live side by side, but they need physical boundries (they jump too, so make sure any divider is tall enough).