Sparrow is a good wallet and I will not discourage you not to use it because it has been the best wallet with Electrum, but you can also generate BIP39 seed phrase on desktop Electrum.
There is no way to generate a BIP39 seed phrase in electrum, even if you use the console.
The command you mentioned generates a 12 word legacy seed phrase with electrum algorithm. That wouldn't generate a BIP39 seed phrase.
If you want to have a wallet with BIP39 seed phrase in electrum, you have to generate your seed phrase using other tools and then import it in electrum.