I just manually turn on "Night light" if I need it before it automatically kicks in. I think that's available in stock, but I only have LineageOS on my devices.
If you really want better sleep quality probably a better way is stop using stuff with screens like an hour or so before bed. It's not really the blue light that is the issue, it's the endless content keeping our mind active.
That is a blue light filter, so you shouldn't need a third party filter. The science just isn't out there to show whether or not it helps with sleep, though. It might help, but other things like not using screens within a couple hours to bed and not using phones in bed has better outcomes.