I'm not sure more megapixels help. I have an s20 ultra with 41 megapixels (they've become cheap as chips) and frankly the quality of the pics suck
One can get decent sharp snaps with cellphone cameras, good lighting and composition. Here's Micheal Gondry's short film shot using various techniques using an iPhone 7 Plus and an app called Filmic Pro, support of which is sometimes limited on other phones with capable sensors from manufacturers such as Sony, because sometimes the OS programmers leave the API for the sensor out (as they did for Blackberry's KeyOne, frustratingly - it has the same Sony sensor as the Google Pixel of the time, which was properly programmed for third party apps to make better us of the Sony sensor's features than the native camera app). Also below is a short by Star Wars Director (Apple digging very lightly into their deep pockets) Rian Johnson made using an iPhone 11.
What p*sses me off is that that massive sensors have not made their way into cheapo action cameras, which all suck in low light - even the GoPros are crap at night! The hopeful part is, with massive sensors like Samsung's 200MP, they can combine 16 pixels to one, eliminating noise. The resulting image would (theoretically) be sharp and noise free, albeit at a lower resolution, while remaining high resolution enough to record car number plates in deepest darkest night.
A brief "Making of" Gondry's Detour: