Is it possible to code a planetary atmosphere?

I am wondering about the feasibility of coding planetary atmosphere on Roblox, and how I would generally even attempt at approaching this problem.

Example of what I am trying to replicate:

I have seen games like Ascent that have atmospheres, but I am not sure if games like that are using some other method.
I do not know how Ascent - Roblox made a working spherical atmosphere.

Is it also possible for the atmosphere to be curved and wrap around a planet?

I believe trying to replicate the video you reference is simply impossible since the video relies on scripting the shader which is not possible in roblox.

Though maybe you could use something like an inverted mesh around a planet to simulate atmosphere, but I haven’t tried that yet

I have tried that, but the results are a bit underwhelming