To clarify, there is no “beeper” inside the motor, the motor itself is being used as a speaker by the ESC to emit tones. Both speakers and motors use modulated electric currents to move other parts of them, there isn’t much a difference mechanically.
The startup tones are intended as a critical diagnostic tool to check the connections between the motor and ESC. Each of the three initial tones indicated a connection for each phase, with the other two usually indicating “ready” and “armed” when initialized with a valid signal. It’s not a common use case to disable them altogether given the information they convey, so it may be tricky.
The beeping is something purely controlled by the ESC firmware for the ESCs I am aware of, it is not possible to control without directly modifying the ESC firmware. Though BlHeli_32 has some options for custom startup tones, I’m not sure if it’s possible to disable them entirely.
There are two options I suggest:
Modifying the BlHeli source directly the remove the startup tones and compiling a custom firmware. There may be some developers on the project that could help you with this.
Using something other than a commodity “hobby grade” ESC. More commercial/industrial focused ESCs may not have the same startup tones. Off the top of my head, I believe VESC based ESC may not have startup tones enabled by default. These may be a fair bit more expensive.
The BLHeli32 configurator has a setting for Startup Beep volume. I assume it goes to zero, though I’ve never actually verified this. Of course, you’ll need to get a BLHeli32 ESC to make this work.