Can you use secondary memory in place of primary memory?

No, Because secondary takes more time as compared to primary. primary takes less time as compared to secondary.