I mean, a 4080 will certainly handle that, generally speaking, depending on the game and the settings. But as far as 'best bang for the buck', I'm not sure about that.
Do you need it RIGHT NOW? Like, NVidia will most likely be releasing the 5xxx series cards in 3rd quarter 2024, so in a few months, and once those come out, the 4xxx cards will drop in price decently, most likely, so then might be better, as long as you buy it RIGHT when they drop the price. I have to imagine that a lot of people might do the same as well.