Yes, a registered domestic partner can be considered the stepparent of his or her partner’s child for federal income tax purposes if they are recognized as such under state law. This means that if state law recognizes a registered domestic partner as the stepparent of the child, the same recognition applies for federal tax purposes.
Sources:
Rev. Rul. 2013-17
Publication 501 (2023)