In short
Yes, very easy. City line 2 (Port terminus) reaches Knossos in ~20 min for €1.30 pre-bought, every 15-20 min in the daytime. It goes via the centre (Plateia Eleftherias) — no need to walk up to the port — and drops under 100 m from the site entrance.