Orach Chayim 235:1 rules that one has to repeat Shema after the emergence of 3 stars (tzeit kochavim) if prayed earlier in the evening. Many don't wait until tzeit in the summer on Fridays, pray earlier, and after the Shabbat meal they repeat Shema. However, חז"ל perfectly knew the issue with this (Berakhot 4b):
ואומר אלך לביתי ואוכל קימעא ואשתה קימעא ואישן קימעא, ואחר כך אקרא קריאת שמע ואתפלל, וחוטפתו שינה ונמצא ישן כל הלילה
And says: I will go home, eat a little, drink a little, sleep a little and then I will recite Shema and pray. In the meantime, he is overcome by sleep and ends up sleeping all night. (see Sefaria)
This Shabbat I had to do very serious efforts not to fall asleep, and unfortunately some parts of Europe are not in their natural time zone as well. For example in Paris, France, one had to wait until 23:02 on Friday (while at the eastern part of this time zone in Budapest it was only at 21:45). Is there a halakhically acceptable way to ensure fulfilling the mitzvah of Shema and go sleeping earlier?