Technically it's rather impossible. (
Here are the pre-1772 borders, by the way, together with the post-WWI ones. The striped bits are the parts of pre-1772 Poland and Lithuania which were not regained after WWI. I couldn't find a map with both the maximum post-WWI Polish demands and pre-1772 borders. Perhaps I might even be tempted to make one.) But you can get an approximately similar result in two ways.
1. You can have a confederation dominated by Poland and including Lithuania, Belorussia and Ukraine. All that needs to happen is for Poland to do moderately better in the war with the Bolsheviks in 1920 - which will be difficult, but not impossible. This federation can include the pre-1772 borders and Kiev. It's not really Poland, but Poland is clearly the dominant component.
2. Or, you can have something awful happen to Piłsudski and company. This leaves the National Democrats in charge of Poland. They wanted a unitary Polish state instead of Piłsudski's federation/confederation, within the borders they presented at the Paris Peace Conference.
Here is a map of post-WWI borders, with the maximum Polish demands outlined in red. However, these demands did not represent the 1772 borders in their entirety.
In this scenario Poland will definitely reject any extra territory outside the red line, because the National Democrats believed that there was no way its populations could ever be assimilated. They actually abandoned some of those areas in 1920. By the end of the Polish-Bolshevik war Polish armies had reached the red line in the east, and Lenin was ready to cede Minsk and some other areas. Poland declined.
So, with a PoD after 1919, which areas within the red line can it possibly gain in addition to the OTL borders assuming it tries to gobble up as much as possible by any means possible?
-In the east, pretty much everything.
-If the Bolsheviks end up occupying all of Lithuania for some reason, the Poles might in turn overrun the country in a counteroffensive of their own. This might just possibly allow them to hold on to Lithuania in some way.
-If Poland doesn't do quite as badly in the war with the Bolsheviks, the Czechoslovaks might not get away with cancelling the Teschen plebiscite, and in that event Poland would get a bit more then it eventually did.
-The borders with Germany will be essentially the same as in OTL, at least in the beginning. Versailles was settled in 1919, the plebiscite in southern East Prussia probably wouldn't have gone very differently from OTL, same with the Upper Silesian one. But in the long run Germany might potentially lose territory in some silly little war farther down the line.