Yes, eligible foreign tourists can book train tickets online in India through the Foreign Tourist Quota facility. They need a valid passport, a registered booking account and an accepted international payment method, subject to the applicable reservation rules.