I think it would be a perfect device for that. The only ‘feature’ difference is that M3 can drive two external displays at the same time. M2 can drive only one external monitor.
Other than that, in daily use they are about the same. If you’re a benchmarks geek, then you will see that the M3 does some tasks like video encoding more quickly and the M3 chip supports hardware ray-tracing for the couple of games that can utilize that. Otherwise they are the same. Both will perform well.
If you do some homework, one other thing you will see is that M2 with 256GB SSD used a single chip for vs. two chips on the M3. If you’re doing large multigigabyte transfers they will run more slowly on the M2. It’s a non-issue for most people.