Having teams is exactly the wrong reason to have micro services, having endpoints with different traffic patterns and resource/scaling constraints is exactly the correct reason.
Even otherwise, yes, you sure still can, just like you can write the service in bash if that’s how you want to spend money.