Yes.
If you're asking which are the technical stuff behind these procedures, then I'd recommend you to look on these three:
If you're asking how can you do it too, then take a random number:
e9aec0c369cd1eb781a78225bada4b67e0c8a3e6037abd583ac4236bd4c5e13e
Get its
WIF (Wallet Import Format):
L53xbbK7B2N7FQJbrmP6jFktNj3vnPXhpGUH1KmGJNfSrTqcpL6m
Open up Electrum: “New/Restore” --> Name your wallet and click next --> “Import Bitcoin addresses or private keys” and enter the following:
p2pkh:L53xbbK7B2N7FQJbrmP6jFktNj3vnPXhpGUH1KmGJNfSrTqcpL6m
p2wpkh-p2sh:L53xbbK7B2N7FQJbrmP6jFktNj3vnPXhpGUH1KmGJNfSrTqcpL6m
p2wpkh:L53xbbK7B2N7FQJbrmP6jFktNj3vnPXhpGUH1KmGJNfSrTqcpL6m
Once you click next, you'll get an address starting with 1 called “Legacy”, another starting with 3 called “Segwit Nested” and another starting with bc1 called “Segwit Native”.