Yes.
Watching K-dramas can be a fun way to learn the Korean language (Hangul).
You can pick up common phrases, improve your listening skills, and understand pronunciation better.
To make the most of it, try watching with Korean subtitles first, repeating phrases you hear frequently, and using language learning language learning apps in conjunction with watching dramas.