I worked on one hammer, decades ago, for a Combat Commander. Came out pretty good. Zero issues afterwards.
But, it's not an easy thing to get right depending on exactly what you're doing.
A shorter shelp/notch where the sear sits should make for a crisper/shorter trigger pull.
It doesn't look/sound like you're going to be filing/stoning/polishing the surface where the sear contacts the hammer. Just shortening that area to reduce the necessary distance the sear moves to release the hammer.
You'll need to be careful to insure the patch you leave, where the sear sits against the hammer is even from one side to the other. You don't want it to be angled.
While the hammer surfaces are heat treated to make them hard and improve wear/increase the life of the hammer I have not idea if removing metal from the front of that surface will effect that corner where the untouched surface (sear notch) meets the vertical surface you removed metal from will wear quicker. That's another thing you need to keep an eye on when you're done and using the pistol. If it starts to round off or get burrs on it you'll need a new hammer.
The aftermarket hammers are made with that short shelf in that notch so the sear doesn't have to move far to release the hammer. So the surfaces are heat treated where the sear contacts the hammer and that corner is heat treated on the vertical side above the notch/shelf.
Factory P07 hammer above and P07 hammer from CZ Custom below.
You can see the differences between factory vs. the other one. Looks like what you're wanting. The CZ Custom hammer will be properly heat treated where a modified factory hammer would not be - both sides of that corner where the sear slips off the hammer when you pull the trigger.