Could a transaction hex on testnet theoretically be valid on mainnet?
Yes, it is theoretically possible for a transaction to be valid on both mainnet and testnet. Transactions don't contain any network specific information other than the previous txid and output index.