We did this in 2023 February! We took the 7am Eurostar to Paris, and returned by the 9pm. We had to wait a few minutes for the Bayswater tube station to open in the morning on the way to St. Pancras (interesting conversation with the station master and street cleaners), so make sure you know how you are getting to St. Pancras early in the morning. On the positive side, the immigration lines were very short and did not need more than a few minutes to go through.
Our trip was a birthday gift for my son, and all he wanted was to see the lights twinkling on the Eiffel Tower. However, once the day trip was confirmed, he also wanted to do some shopping, and I wanted museum time, so we settled on the Musee d'Orsay. So we took the route of fewer things in greater detail....I would not have liked to rush through a lovely city like Paris....and we both decided we want to go back someday.
Even though our train back wasn't till 9pm, we had to rush to the Gare du Nord after the 7pm Eiffel Tower 'twinkling' and the station was busy. We bought sandwiches at the station to eat for dinner. So with your earlier train, I don't think you will be able to have a sit-down dinner in Paris. Make the most of your lunch - we chose to eat ours at the Musee d'Orsay to maximize our time there.
Enjoy your trip!