Yeah I guess that wouldn’t work during takeoff and landing. But for the most common airliners (a320 to a380 and boeing equivalent): are there clouds above their cruising altitude? By day I presume you could use the sun.
Some early jetliners had special cupola for star navigation, but it soon fell out of use because NDB, VOR, DME and other radio systems were easier and better.