Yes you can.. However, I think they are trying to teach you the easy things like "how are you" as the spoken form.. But others not.
Anyway, we (Arabs) say " how are you" as a formal way "كيف حالك"
Just to notice! we don't say like this woman "Kayyifak" this is wrong!! We say "Keefak"