Yes, you can, but on a Sri Lankan ETA visa, you are only allowed to study for no more than 30 days.