I recently came across a proof of Pythagoras Theorem via dimensional analysis in a book by Paul J Nahin called Mrs. Perkins's Electric Quilt, which goes as follows.
Let there be a right triangle with sides $a, b, c$, with $c$ the hypotenuse and let $\phi$ be one acute angle of this triangle. Since area has dimensions of length squared, and given $c, \phi$ we can uniquely determine the triangle, the area must be $$\Delta = c^2 f(\phi)$$
Now, drop the altitude on $c$. We get two right triangles with hypotenuses $a, b$ and one acute angle $\phi$. Hence, there areas are $$\Delta_1 = a^2 f(\phi) \qquad \Delta_2 = b^2 f(\phi)$$
But, $$\Delta = \Delta_1 + \Delta_2 \implies c^2 f(\phi) = a^2 f(\phi) + b^2 f(\phi)$$
$$\implies \boxed{c^2 = a^2 + b^2}$$