Definitely a legal turn. In cases similar to this, it would be legal to perform the turn unless there was double lines (close together) in the the middle of the road you’re turning into (with no gap in the lines at the intersection) or there is a sign banning the turn.