Ran an old laptop as home server for years. It’s OKish as a starting point into selfhosted world but overall not ideal. The battery is a fire risk and the entire thermal design isn’t really geared towards 24/7 operation. Not really something I’d co locate unless it was a DC physically near me so that stopping by is easy
But overall without aggressive throttling these devices work a maximum of half an hour before the components get saturated with heat and performance tanks.