a sonic boom is a phenomenon that occurs continuously when traveling over mach 1.0 so supersonic flight is usually limited to over water routes and forbidden over or near urban areas.
Many people think the sonic boom happens when one breaks the sound barrier. It happens continuously once past the speed of sound. Back to the OP's question, once could simply only fly transonic over oceans