Yeah, ham radio. If I was doing it all over again, I'd go for the most basic SSB radio I can find that plugs in to a computer sound card - that should in theory be able to do anything reasonable. You'll also need feed lines, an amp and a large-ish antenna, which is where things get a bit more technical hardware-wise, especially if you're in an apartment or have something like an HOA, but it nothing you can't figure out.
And yes, a licence. So far I've found the requirements pretty reasonable in my jurisdiction, they relate to not frying yourself or your equipment, and how not to be a menace to other people sharing the radio bands. You used to need to learn Morse code fluently enough to pass a practical test, but most places have gotten rid of that.