Yes, measure accurately and use a saw to trim planks to the required size. Ensure a snug fit while leaving the necessary expansion gap for changes in humidity.