from my experience as a professional bicycle workshop manager, and bike mechanic that has worked on 100s of disc brake including Sachs, Tektro, Hayes, Hope, Formula, Magura, Shimano and Avid:
don’t use DOT fluid, its not a “lubricant”!!
it causes the piston seal to swell (this helps sealing), it will certainly help your initial “installation” as it will allow the piston to re-seat into the caliper bore, but it does not do anything useful once the brake is reassembled and will actually exaggerate the problem of ‘stick pistons’ or ‘brake imbalance’
what you actually want is high temperature silicon grease – Avid and hope supply this in their workshop “tackle boxes” along with replacement pistons, seals, o-rings and MC diaphragms
Avid sell this under their “Pitstop” label, but its hard to find and expensive
Hope use the “Hunter” brand which is commonly available.
Automotive suppliers also sell ideal silicon grease cheaper than bike “brands” for motor vehicle disc brakes (which also use DOT 4 or 5.1 fluid), try your local motor factors for supplies
RS also sell a suitable silicon grease, which works just fine…
apply the silicon grease to the piston seals evenly coating all surfaces, and reinstall the seal to the caliper piston bore, once the piston is reseated degrease the caliper bay with Iso alcohol before rebuilding the caliper