'Would' might sound a bit unusual in those isolated sentences. but in context I see no reason why it cannot replace 'used to'. Since 'would' is used for past routine, it must express something that is discontinued in any case, it seems to me.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.