Yes. While there are usually no fixed border booths, “random” or “temporary” checks by police and border guards are common on international buses and trains. If you are caught without a valid residence card or visa, you risk detention, fines, and deportation.
YeloFun Trip Guidelines