Of course, you can. It is 100% allowed and compliant since Facebook is a great traffic source, and you can also make targeting based on the user’s intention, which is the entire point of ads, in this case, to make them super useful for users.