What are you trying to accomplish with PWM? Do you want to convert the voltage efficiently? You can't do that without an inductor:
Can a charge-pump be 100% efficient, given ideal components?
If you do add an inductor, then you have a buck converter. You can roll your own, or buy them as complete modules.
Or is efficiency not as much of a concern as simplicity? If your load won't require more than \$25mA\$, then we aren't talking about a whole lot of power. At worst:
\$25mA \cdot 300V = 7.5W \$
is dissipated, either in the load, or in something dropping the excess voltage. The share of that between the load and the something else is determined by the voltage required by your load. A TO-220 can dissipate \$7.5W\$ with a heatsink, and around \$2W\$ without.
If you can deal with the excess heat and reduced battery life, then what you want is a linear regulator, which will be simpler, cheaper, better regulated, and more reliable than any inductorless 555 PWM scheme, while not being any less efficient.
There are many ways to make linear regulators, enough to merit another question, but it would be hard to get simpler than this:
simulate this circuit – Schematic created using CircuitLab
Regulation is poor and could be improved with an error amplifier, but it's hard to get simpler. It will be just as efficient as your 555 circuit, and at \$2.5mA\$, how efficient do you need to be?
If you pick the right N channel MOSFET for the load and you have the load in the drain up to V+ and the source connected to 0V then applying PWM inputs to the gate (with respect to source) will effectively cause the FET to act pretty much like a switch opening and closing. This is an approximation but for low switching frequencies it's not a bad one.
It's never as clean-cut as a switch of course but it can be reasonably approximated to one. When the "contact" closes it has "on-resistance" which can be as low as 1 milli-ohm on some FETs. When the "contact" opens there will be a little bit of leakage current but probably not much more than 10uA.
When it switches, it doesn't do so instantaneously and this is where there can be a significant amount of power loss. The "contact", over a few micro-seconds or in some cases a few tens of nano-seconds gradually changes from high impedance to low impedance. Parasitic capacitances make this worse generally and you need to "drive" the gate quite hard to achieve decent efficiency.
The space-mark ratio that you drive the gate with multiplied by the power voltage (V+) roughly tells you the average voltage applied to the load. Thus, if your supply is 12V and you drive 40:60, then the average voltage on the load will be approximately 7.2V i.e. the FET in "on" for 60% of the time.
Best Answer
the source of your MOS-FET needs to be connected to the reference of the 5V supply of the arduino, your schematic does not show this connection.
without it the gate voltage is floating so it will be very unlikely to ensure turn off while floating.
You always apply voltage as a differential so a single connection, the gate needs the output, but also the source needs to be connected to the 5V reference.
Sadly, this is not a good design you do not want the reference of the Arduino to have an inductor leading to ground right after and not be connected to ground.
I have a couple ideas from the top of my head.
Re-design the circuit so the source goes to ground and you can connect the Arduino reference to source also
use a DC-DC converter to isolate the arduino from your 5V power line then there is no issue with connecting the source to the 5V reference.