When we derive Euler-Lagrange equations in classical mechanics following the Lagrangian approach we introduce Boundary conditions at the starting- and end-points of the path in the configuration space. Usually,though not necessarily, one requires that $q(t_{initial})=q(t_{final})=0$. But the standard problem in classical mechanics is to instead assume Initial (not Boundary) conditions, in practice it is assumed that the initial position $q(t_{initial})$ and initial velocity $q'(t_{initial})$ are known.
Is there any way to modify the Lagrangian such that the extremisation of the Action would yield the Euler-Lagrange equations together with the above mentioned Initial conditions?