There are specialty power tools specifically made for cutting grooves, however, as far as I’m aware, the tools don’t come in cordless.
Festool and Makita both make the tools, and the tool looks similar to a circular saw.
Hitachi, or whatever it’s called now, makes or made a similar tool, although the Hitachi tool looked more like a power hand planer.
Maybe check on the blades, to see if they could be used in your circular saw, although there might be issues, since Most of these tools are European or Asian, and likely use Metric arbor sizes.
Alternatively, if you go for one of the angle grinder carving blade options.
The safest version might be the Arbortech “Industrial Woodcarver”.
This uses three replaceable teeth, with an anti-kickback design.
The teeth can be rotated if the teeth get nicked, and the blades are designed for safe hand use.
you would still need to limit depth of cut.
The classic “cordless” option would be a plough plane.