As ibrahim stated correctly, if it’s not done right, it will fail.

However, due to license costs and the availability of cheap hardware – most notably the raspberry pi – Linux will probably be the cheaper solution. Not even mentioning that I’ve mostly seen that people run an oversized desktop computer instead of little chip that only uses ~5W.

I’ve done this a couple of time and use a little c programm with webkit to show a website: