Yes, that is quite common. People will start asking for 100% quality at 100% time. Then reduce time to 80%. Problem is quality is closely tied to time. As a result, code starts being written under the guise of it being a temporary solution. "It will be fixed on version 2." - is what clients or managers often say to keep you at ease.
Solution? Do your best. No one is perfect. Make sure to document the code well (comments) for future revisions. But realize that this is how a lot of software is written. In all size companies.