No !!
Unfortunately that is bad advice and it's a good thing you did not find that post! On boats, due to movement, rigid pipe is a no, no unless it's a short tail piece for a drain or something similar. Plus you'll have about fifty, 45 & 90's to even get the pipe to the thru-hull with all the twisting and contorting that needs to be done on a boat. Watch your head the next time you pump it and watch how much the pump body moves when you are doing this! PVC will not hold up well to flexing and your insurance company can, may & will, in certain cases, deny coverage if a PVC fitting were to fail, crack or cause a sinking or serious water damage to your boat. Most all marine experts, insurance companies, marine surveyors, boat builders and the ABYC are in agreement that non-flexible items such as the use of solid copper wire vs. multi stranded wire, flexible LPG rated rubber hose vs. 3/8 copper pipe and flexible marine rated hoses for below waterline applications vs. rigid pipe or PVC should NOT be used.So in short don't use solid copper wire, copper for LPG gas or PVC for below waterline applications..For future reference you should ALWAYS use proper marine rated components below the waterline including hoses & valves! Why? The most important reason is that the insurance industry has been clobbered in recent years by hurricanes and claims and they have stepped up efforts to DENY coverage at all cost (a buddy works in the industry as an adjuster and passes this stuff on to me)! If your boat were to sink and the adjuster finds say a non-marine rated, plastic PVC ball valve or a corroded, non-marine rated, yellow brass "Home Depot" ball valve threaded to the thru-hull to be the cause you may be sh&t out of luck!!!