Are goten and trunks brothers?

No, Goten is the son of Goku and Chichi, whereas Trunks is the son of Vegeta and Bulma.