No, gerunds are not always preceded by a preposition. A gerund can be used as the subject of a sentence without a preposition.