I am an electronics tech and electrician. I install converters, inverters and wire homes. The math does not support wire size less than 6 AWG. The wire length doubles in calculation because the resistance includes the ground path. Put your length and numbers in this chart.
Yes, if there are no problems in the system, you will be ok. But if the motor shorts out or a wire gets a hole, the amperage avalanche will be instantaneous.
https://www.wirebarn.com/Wire-Calculator-_ep_41.html