lax and maca have different benefits so they are not a direct substitution even though they look similar when ground up. It depends on what type of boost you are looking for. Maca provides energy and increased libido and flax is good for omega-3s and added fiber. Here's more info for each to help you decide what is best for you.
Also, check out our top 10 anti-inflammatory foods: