Newborn sleeping in swing

He can’t roll over & I watch him , is that okay ?