On the contrary, I think they actually have very similar goals, just having arrived independently to a different set of primitives:
BAML | DSPy
Types | Signatures
Functions | Modules
Both use adapters under the hood to coerce the users inputs into something more useful to the LLM. BAML has a sophisticated parser, but DSPy does not. On the other hand, DSPy has optimizers and first class evaluation data types, which BAML does not (yet).