Yes, as Jesus’ first disciples (along with his Blessed Mother), the apostles were undoubtedly baptized. Just before his Ascension, Jesus makes clear to his apostles that baptism is a fundamental part of becoming his disciple (Matt. 28:18-20). And Jesus’ baptism is distinguished from John’s, which was a baptism of penance yet which could not forgive sins or provide grace. Luke mentions John’s baptism in Acts 1:5, 1:22, 10:37, 11:16, 13:24, 18:25, and 19:4.
When were the apostles baptized? Scripture is not clear, but it was either sometime during the time between Christ’s Resurrection and Ascension or on the day of Pentecost. Because Luke doesn’t speak of the apostles’ own baptism in Acts 2, I would argue for the earlier time period.