Usually not like right on the corner, parking aside if there is more than one lane a truck in to your left can easily block sight lines when trying to take a right turn or trying to pull out of a parking space.
it is a responsibility of localities. some places do have rules against it, but it isnt universal