Would be possible to create a transaction without doing sanity checks? In GUI/CLI normally it would check if there are enough monero in the wallet or it has been unlocked. Is there a way to broadcast a transaction without this checks and its up to the peers/miners to double check that your transaction is valid or has enough monero in it.
Look into /sendrawtransaction API call. Dev Guide