Can I connect two phases on a single phase inverter?
Looks fine to me.    Consult with the manufacturer to assure the machine is internally built to be able to accept line wire on the "N" terminal.  I expect it will be -- they couldn't sell any in North America/Colombia if not. 

You have 3-phase "wye" power, Brazilian style.  A single-phase load could either go corner-neutral (127V) or go corner-corner (220V).  



When you're backfeeding into the grid at a small scale, the same applies to feeds as loads.  Since you can attach a single-phase 220V load to A-B, you can also attach a single-phase backfeed there.  

It does not matter to which phases your house's loads are attached, because you know of course that a grid-tied solar inverter is totally incapable of creating power for your local use during power outages.  That is not what grid-tied inverters do.  If you want that ability, things get  more complicated.