Yes, you can delete apps on your iPhone without losing their data. Head to Settings > General > iPhone Storage, select the app you want to remove, tap on the Offload app option, and confirm if prompted again. This process will remove the app from your iPhone but keeps its app data. When you install the app again, you'll see the app along with its data.