The lag has nothing to do with the laptop being a laptop, the server did probably just not get the ram it wanted or your internet connection was too low.
And you can of course host a server at a laptop, but it's not recommended as a laptop is not created for such purposes. The best way to find out is for you to try hosting, just keep an eye on the heat, if it would get to warm I would suggest you to move the server somewhere else.