It's physically possible to install Windows 11 on non-eligible hardware, but it isn't a good idea. No honest refurbisher would do that.
The well-known website WhyNotWin11 will tell you whether the hardware is eligible for Windows 11. If it turns out that the computer's hardware is not eligible for Windows 11, you might not receive updates and you'll have to provide your own tech support, as Microsoft explains: