The electrical is relatively easy. It's not much harder than replacing a frayed power cord on a lamp (with an extra wire if the unit is 220 rather than 110).
Managing the lineset is the scary part (though it's not that hard). You're vacuuming copper lines that you've hopefully sealed correctly. If you get that wrong and your refrigerant yeets off into the sky, you have to call in help because it's hard for an unlicensed person to get the refrigerant legally. That half-hour of work and ~$1 of materials will cost you a punitive amount of money.
Managing the lineset is the scary part (though it's not that hard). You're vacuuming copper lines that you've hopefully sealed correctly. If you get that wrong and your refrigerant yeets off into the sky, you have to call in help because it's hard for an unlicensed person to get the refrigerant legally. That half-hour of work and ~$1 of materials will cost you a punitive amount of money.