How to Change Object's local Axis?
You can check Only Origins to only transform the origin point.
It's in Sidebar > Tool > Transform, Shortcut: N

Then you can rotate the local axis, without affecting geometry.