Maybe. At the high end (professional sports, Olympics and other world-class amateur competitions) women are formally allowed to compete in men's leagues and events; there have been female NCAA and I think NFL kickers. I believe trans men are also formally allowed but if on hormones need an exemption/special review under the anti-doping guidelines. It's extraordinarily rare for women to play at this level though because of biological disadvantages and disadvantages in training opportunities; trans men might be at less of a disadvantage, but if there are any world class transitioned trans male athletes in men's divisions, I have yet to hear of them.
At lower levels, it sort of depends. Girls have successfully sued to be allowed to play on boys' teams, and some boys' teams now allow it (I played baseball as a "girl," and there was a girl on my school's wrestling team), but others either are misinformed about the law and concerned about liability for injuries or simply plan to go on discriminating until somebody sues to make them stop.
Trans boys who are legally female are mostly protected under the same statutes that protect girls, so you might as well ask the coach. If he says no, then you can decide whether you want to consider threatening legal action, if your parents would back you up.
However, I suspect that under some readings of the law trans boys/men who are legally male might not be protected because it's discrimination on account of trans status, which is legal, rather than on account of sex, which is not. Regardless, there's no harm in trying.