Marrying online when you are together at same physical location can look odd for USCIS.
Why not put some effort and get married normally, like most couples would? If process is too difficult, why can't you go to your home country or other country nearby with easier rules?
Nothing stops you from marrying online, it just seems unusual when you are in same location. The less unusual things, the better for immigration.