You would most likely be ok with that setup. The ram will probably hang near the bottom most of the time and the gouramii will hang on top. There may be some minor spats but I dont think it will be anything major. I have a betta in with my two bolivian rams and one in a while he will chase the rams but they just turn to face him and he swims away like a coward.