Filter Taxonomy Widget Options by Entity Reference
It is possible and can be implemented using Simple Hierarchical Select. From the modules page-


  Simple hierarchical select defines a new form widget for taxonomy fields to select a term by "browsing" through the vocabularies hierarchy.


Expose the view filters (course and course goals) in your case after you set the field type to simple hierarchical select. This guide might be helpful.