No, online gambling is not allowed in Singapore, and thus, playing 4D lottery online is not possible. You can only purchase tickets from authorized retailers.