Do HAM radios have a purpose?
According to the Fallout 3/NV wikia:
Generally, ham radio stations are only useful in that they broadcast a radio signal and serve as a beacon to lead a player to an otherwise difficult-to-find location. Players cannot affect a ham radio apart from turning the signal on or off. Ham radios are indestructible. Since all ham radios are set to the off position by default, they can be used as "breadcrumbs" for the player, turning them on to mark where he or she has been.
Only two ham radios have a more significant function in the game.
One is set up as part of the public-address system in the Super-Duper Mart. Raiders using the store as a base use the PA system to alert others in the building.
In the Operation: Anchorage add-on, Chinese technicians use ham radios to call for backup.
As for Fallout 4, it doesn't look like they serve any important purpose (see here and here)