I would like to know if enabling Developer options safe? I want to enable LDAC in order to take full advantage of my Sony WF-1000xm4 earbuds which is not possible without enabling developers option. I will not enable anything else (such as USB debugging etc) though.

You can break stuff in the developer options but as long as you use it to only enable LDAC I see no harm.
Just don't touch anything else. ;)

It's generally recommended to keep developer options disabled on a daily driver. Developer options are intended for use on development devices only.

    treequell not entirely. Just know what it is you are toggling on and/or off.

    For example you can remove all animations for a quicker snappier device and reduce a small percentage of battery drain, you can force less max Bluetooth connection from the standard 5(I think its 5).
    Or if you're concerned with background services or apps you can force not to cache apps or reduce background services to 4 or less.

    There are many reasons to use developer options, it is not just for developers.
    Perhaps brush up on what you're thinking of toggling and do some due diligence.

    LDAC should be an option in the XM4s settings under Bluetooth devices. It might not show up if multi device pairing is enabled, which you probably need to have their headphones app to disable.

    In the same app under Sound there's an option to prioritize sound quality that should make it auto select the LDAC codec.

    I'm pretty sure all the settings are saved to the actual headphones so you can optionally uninstall or disable the app once everything is how you want it.

    If you're talking about the developer setting to force the highest LDAC bitrate, enabling developer options is one way to do it. I used to do that but it was unreliable and would keep resetting to the default setting. The Sony Music Center app(separate app from Headphones Connect) has an option under "Bluetooth output" that seems to keep it at the higher bitrate setting: "prioritize LDAC" once again makes it use LDAC if available, and "Priority on sound quality" should make it select the highest bitrate.

    In regards to removing all animations, is removing animations via Developer Options different than toggling Settings > Accessibility > Color and motion > Remove animations to ON?

      iii yes. Dev options allows for animation speed scaling in 0, .5x , 1x, 1.5x, 2x, 5x, and 10x