Would a Raspberry Pi with linux be more secure?

I mean, maybe save some money, but yeah. A portable monitor, keyboard, and mouse and it functions portably.