I did just that about six years ago. I ran 12/1 Romex straight from the breaker box into a Dynaco 400 amp. Everything worked as it should, but the Romex was so stiff and unruly I removed it in less than a week. And yeah, it’s not legal in most places.
All the best.
JD
All the best.
JD