Im sure it would be fine. The fish you have normally dont mess with anyone so they shouldnt mess with the bettas. I have never seen a corydoras mess with anything, my hatchetfish do nothing but try to jump out of my tank, and the neons just swim around the tank keeping to themselves.
I love mixing bettas with community fish too ;)
Purple and Red Veiltail Betta - 10 gallon
Blue Crowntail Betta - 2.5 gallon