Is it possible to use Lens Flare on HDRP or LWRP?
I tried to use the old lens flares but their shaders didn't work on HDRP.
You can try using the HDRP Lens Flare from Unity's Fontainebleau Demo (It includes a cs file, materials, and shaders for it), available on their official Github:
Here at 52 seconds you can see it: