i can help you take some steps if you want to look at the nutrition angle. you sound like a pretty active person, which has its own set of nutritional consequences of course. much of what you're describing flags a magnesium problem from where i sit. magnesium is easily lost via sweating.
if you want to know for sure what's going on, you can order a serum magnesium test and make sure your levels are in the top half of the 'normal' range.
there are a lot of other really common nutrient balance problems that lead to different consequences for each individual. just looking at magnesium as one example let's say your body is trying to run 300 magnesium-dependent processes, and the levels of ingredients for running those operations are down. i wouldn't expect each person to react in exactly the same way, because there's going to be a sort of triage going on, based on every other related nutrient level in the mix, plus toxins and genetics.
so, if you like you can try testing, or even without testing you can consider trying increased intake of magnesium-rich foods, get yourself into some sea water or epsom salts (mag sulphate) baths (careful with those, more is not necessarily better), i wouldn't recommend certain magnesium 'oils' i've heard about, since the last one i looked into turned out to be mostly water, delivering negligible amounts of topical elemental magnesium.
supplemental forms are a mixed bag of inorganic/insoluble or organic/soluble ingredients, or combos of several different types. insoluble means poor absorption and laxative side effects. soluble means better absorption. the best soluble organic form i've found to date is magnesium glycinate.
also, coffee and alcohol increase magnesium loss.
bone and muscle pain can be linked to poor vitamin d3 status too. another very common issue, depending on where you live and how much bare skin exposure you get. and also how fond you are of mushrooms and salmon
if you order that test, it's specifically serum 25(OH)cholecalciferol. normal range is far off optimal with this nutrient too. with that one, many of us here aim for 125-150nmol/L.
so, just a couple thoughts. if you think it sounds like an approach you're interested in pursuing, we can get into more detail re tests, combinations, doses, timing etc.
welcome to the forum
my approach: no meds so far - just nutrient-dense anti-inflammatory whole foods, and supplements where needed
info: www.whfoods.com, www.nutritiondata.com