Yes, a 301 redirect (permanent redirect) will pass link equity and is the best way to internally redirect link equity to new URLs. A 302 redirect (temporary redirect) doesn't pass link equity and generally won't affect SEO much.