Motion planning and controller design are challenging tasks for highly coupled and nonlinear dynamical systems such as autonomous vehicles and robotic applications. Nonlinear model predictive control (NMPC) is an emerging technique in which sampling-based methods are used to synthesize the control and trajectories for complex systems. In this study, we have developed the sampling-based motion planning algorithm with NMPC through Bayesian estimation to solve the online nonlinear constrained optimization problem. In the literature, different filtration techniques have been applied to extract knowledge of states in the presence of noise. Due to the detrimental effects of linearization, the Kalman filter with NMPC only achieves modest effectiveness. Moving horizon estimation (MHE), on the other hand, frequently relies on simplifying assumptions and lacks an effective recursive construction. Additionally, it adds another optimization challenge to the regulation problem that has to be solved online. To address this problem, particle filtering is implemented for Bayesian filtering in nonlinear and highly coupled dynamical systems. It is a sequential Monte Carlo method that involves representing the posterior distribution of the state of the system using a set of weighted particles that are propagated through time using a recursive algorithm. For nonlinear and strongly coupled dynamical systems, the novel sampling-based NMPC technique is effective and simple to use. The efficiency of the suggested method has been assessed using simulated studies.