You have to check local laws. You usually can’t block a sidewalk, which might run through your driveway, and usually you can’t park on the street blocking a driveway. Usually, it’s ok to park on your driveway though.
If the house is inside a community with deed restrictions or an HOA, there are usually rules that govern streets and driveways on top of laws. Like, you might not be allowed to park commercial vehicles on the driveway, or you might not be allowed to park on a certain side of the street even if you aren’t blocking a driveway.