conduit

Is it o.k. to use straight pvc plumbing pipe instead of electrical pvc pipe?

Not alowed in Canada and I think it is not allowed in USA either .