The answer varies by location. If you are in Asia the answer is yes, you earn 10 points per USD spent under the current offer (subject to a $10 minimum spend) -
https://marriottbonvoyasia.com/r+b/benefits. If you are in the US the answer is yes, you earn 4 points per USD spent as non-elite and 6 points per USD spent as elite under the current offer -
https://eataroundtown.marriott.com/. If you are based in Europe, Australia, etc. the answer is no, go away, Marriott doesn't care about your business. Also, note that there are exclusions here in each region so you also need to check that the specific restaurant you have in mind isn't excluded from earning. Note also that these benefits are not permanent but temporary schemes depending on what mood Marriott is in, e.g. there was also a scheme in the Middle East last year but I think the ability to earn points there expired on 31 December and I'm not sure it's been renewed.