It turns out not to be difficult to replace the sides of a square by fractal curves that force it to tile only in the Pythagorean pattern, with similar copies of two different sizes.

Fractalized Pythagorean tiling