In addition to Java virtual threads, similar systems exist in Go goroutines, Rust async and Haskell green threads for example.
There are upsides and downsides to cooperative userspace threads. An erratic or malicious green thread can hog all the CPU time and starve other threads for example.
An operating system can not trust the userspace to behave, starvation due to misbehaving thread is unacceptable.
So the OS can not implement green threads alone, it needs the userspace for the co-operative switching.