If the laptop has a way to limit charging to, say, 70% in order to not turn into a spicy pillow, it would be viable.
Firstly - I love the phrase “spicy pillow”.
Secondly - It would probably depend on the laptop and its battery health. But also the OS can limit charging I believe? I haven’t looked too far into how it works but I’ve got my laptop setup to only charge to 90% because I’m nearly always plugged in. I don’t know if that relies on any hardware/firmware options though.
Yeah I figure it’s the sort of thing that requires some firmware support at least.
One thing I’ve always liked about using laptops as servers more than the battery has been the built-in display and keyboard. 😁