2-point question ( of )

Can taking soporifics or sedatives affect the capability of driving a vehicle?