FWIW I managed to get a development install running on a Pi 5, but it was quite messy along the way
I’m definitely not recommending you use anything other than the standard install if this is meant for public consumption on the internet, but just to provide a datapoint that all required resources should run ok on a Pi 5 suitably prepared.