You can make the reg circ saw into a track saw by switching base plates. This is a standard setup in England I've seen https://www.partshopdirect.co.uk/dewalt-dcs575-dcs576-shoe-base-with-guide-rail-slots-pN472354/ : r/Dewalt
DEWALT FLEXVOLT 60V MAX Cordless Brushless 7-1/4 in. Sidewinder Style Circular Saw with Brake with (1) FLEXVOLT 9.0Ah Battery DCS578X1 - The Home Depot