Applescript and Core Data

Can you add Applescript to a Core Data application?