Variable voltage DC-AC square wave
There's several ways to do this but here's one that comes to mind as elegantly built out of basic signal processing elements:

First, you need a negative supply voltage, no matter what else you are doing. You can use a specialized switching converter to generate it from your positive supply, or use a bipolar power supply.

Invert the input signal using an op-amp wired as inverting buffer to produce an equal magnitude negative signal. (Note that an inverting buffer's accuracy depends on the feedback resistors; calibrate with a trim pot to ensure no net DC offset.)

Use an analog switch IC, controlled by the oscillator, to toggle between the input signal and its inverted version.

Buffer the output of the switch with another op-amp.



The above requires calibration to have no DC offset. In order to be more certain of no DC offset, if you can tolerate a somewhat distorted square wave, then simply insert a series capacitor and parallel resistor to form a high-pass filter.
Once you have this, you don't have to start with a symmetric square wave — for example, you can use a transistor to chop the input signal according to the oscillator signal, then use an op-amp configured for a gain of 2 to scale it from 0-5 V to 0-10 V; after the filter it will be (after startup) ± 5 V.
(However, this will cause the output to wander slightly (but still with no DC in the long run) as the input signal changes, since it doesn't scale the signal before the filter symmetrically.)

Finally, I will note that the sub-problem of scaling an oscillator signal by a control signal is very common in the field of analog music synthesizers, and is solved by a circuit or IC known as a voltage-controlled amplifier (VCA). I mention this as a source for already-designed solutions for the problem.
To get symmetric output you'll still need either fixed offset-and-gain circuit — which is easily done with an op-amp — to create a symmetric signal from your oscillator signal, or an oscillator that is inherently symmetric.)