No I doubt you could dye a ram that harcore. I have rams with bettas, but in a larger tank. I believe you would be fine in this instance if you were to get the one, especially if the ram is a bit of a youngster. Because the tank is first the home of your betta, your ram shouldnt pick a fight with him. Where as I put a Betta into a (larger) community tank with a pair of adult rams, into their home, and my large male ram was threatened by the large tail so he (and one of my angles who was bored cos she didnt have a partner) proceeded to peck it off to about half length. Once his tail was smaller he was happy. The male ram and the betta spar a bit but dont hurt each other. They almost look like they are having fun mostly. But the betta is a bit skitish when he is pecked on the tail and will run for his life. Plus he only has half a tail now, but he doesn't mind.
I have also introduced a female ram into my g/f's 10G tank which was the home of a pair of crown bettas and some platies. The female ram just did her own thing, maybe chased a platie occasionally, and then she laid eggs by herself, which was amusing.
If you do decide to get the ram I would recomend lots of plants. Plants can solve many problems as it creates more territories and hiding places. But if the ram ends up picking on your betta, which I doubt would happen (without a female around to impress there's not much point to hostilaty with these guys) then you can get your larger tank and get some more rams and always keep your betta in his current home.
I do have a pair of rams and a pair of bettas(plus 3 full grown angels, schools of tetras etc..) in a densly vegitated 30G tank atm though and everything is fine. Plants and rocky caves make it so.