If eat after 12 @ night ..can we do rai pratikraman
Yes. If you have eaten after midnight, you can still perform Rai (morning) Pratikraman. Rai Pratikraman is the practice for lapses that occurred during the night, and the important part is sincere reflection and pratikraman as soon as you remember. The recommended approach is to do Rai Pratikraman in the early morning after waking up, as soon as possible, with genuine bhava (feeling) of repentance. If you miss the ideal window, do it at the earliest possible time that morning, while keeping the intention pure. This practice is followed in both major Jain traditions, with some local variations in exact timing. ( jainknowledge.com)
You can read more about Rai Pratikraman timing and tradition here