There is a really deep rabbit hole when it comes to doing this more efficiently, getting into signal processing, modulation, encoding, error correction and more.
And of cause, things like modems, tape storage on c64 and other home computers did this a long time ago. It is just that audio has such a low bandwidth that it is not possible to get up to the bandwidth we expect these days.