An officer being parked in his own driveway does not lose his authority or power to pull over other drivers, so this is legal. If from where the officer was, he could not have actually seen what he claims to have seen, then possibly you might have a defense based on that--but again, there is nothing illegal about an officer in his driveway pulling you over.