If the transaction has appeared in your bech32 address, then its definitely fine. It wouldn't appear if the transaction is invalid.
Bitcoin Core supports bech32 addresses since 0.16.0 and it is definitely possible to use that command to send to bech32 addresses. If you're using an older version, you've probably sent it to a P2SH address and that is completely fine.
Thanks, I sent it to P2SH addresses, since Bitcoin Core 0.16 wasn't out yet. So you're saying that the above raw transaction format works from and to all Bitcoin address types, right?