Yes, since it functions as a noun, a gerund (e.g., “reading,” “thinking”) can be the object of a preposition in a sentence (e.g., “I’ve thought about leaving”).